#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <string>

using namespace std;

int main()
{
    const string name = "admin";
    const string password = "admin";
    string name1;
    string password1;
    while (cin >> name1 >> password1)
    {
        if (name == name1 && password1 == password)
        {
            cout << "Login Success!";
            break;
        }
        else
        {
            cout << "Login Fail!";
            break;
        }
    }
    return 0;
}